include(${CMAKE_CURRENT_SOURCE_DIR}/../setup.cmake)
cmake_minimum_required(VERSION ${REQUIRED_CMAKE_VERSION})
project(scripts)
printenv_cmake(${PROJECT_NAME})

install(PROGRAMS 
    app/run_gdb.sh
    DESTINATION ${INSTALL_PATH}
)

# zeROS运行环境脚本
if(${ZBUILD_ENABLE})
    install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/zeros/
        DESTINATION ${INSTALL_PATH}
        FILES_MATCHING PATTERN "*"
        # USE_SOURCE_PERMISSIONS
    )
endif()